<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>任务分类 - 极简Todo系统</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.19/tailwind.min.css"
      rel="stylesheet"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    />
    <style>
      body {
        height: 100vh;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
          sans-serif;
        background-color: #f2f2f7;
      }

      .ios-status-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 44px;
        padding: 0 16px;
        font-size: 12px;
        font-weight: 600;
        color: #000;
        background-color: #ffffff;
      }

      .nav-header {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        background-color: white;
        border-bottom: 1px solid #f0f0f0;
      }

      .category-item {
        display: flex;
        align-items: center;
        padding: 16px;
        background-color: white;
        border-bottom: 1px solid #e5e5e5;
      }

      .category-color {
        width: 24px;
        height: 24px;
        margin-right: 16px;
        border-radius: 50%;
      }

      .category-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin-right: 16px;
        color: white;
        border-radius: 50%;
      }

      .add-button {
        position: fixed;
        right: 20px;
        bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        color: white;
        background-color: #007aff;
        border-radius: 28px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      }
    </style>
  </head>
  <body>
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
      <div>9:41</div>
      <div class="flex space-x-2">
        <i class="fas fa-signal"></i>
        <i class="fas fa-wifi"></i>
        <i class="fas fa-battery-full"></i>
      </div>
    </div>

    <div class="nav-header">
      <a href="home.html" class="text-blue-500">
        <i class="fas fa-chevron-left mr-2"></i>
        返回
      </a>
      <h1 class="text-xl font-semibold mx-auto">任务分类</h1>
      <button class="text-blue-500 font-semibold">编辑</button>
    </div>

    <div class="mt-4">
      <div class="category-item">
        <div class="category-icon" style="background-color: #ff5722">
          <i class="fas fa-briefcase"></i>
        </div>
        <div class="flex-1">
          <h3 class="font-medium">工作</h3>
          <p class="text-sm text-gray-500">6个任务</p>
        </div>
        <i class="fas fa-chevron-right text-gray-400"></i>
      </div>

      <div class="category-item">
        <div class="category-icon" style="background-color: #2196f3">
          <i class="fas fa-user"></i>
        </div>
        <div class="flex-1">
          <h3 class="font-medium">个人</h3>
          <p class="text-sm text-gray-500">3个任务</p>
        </div>
        <i class="fas fa-chevron-right text-gray-400"></i>
      </div>

      <div class="category-item">
        <div class="category-icon" style="background-color: #4caf50">
          <i class="fas fa-shopping-cart"></i>
        </div>
        <div class="flex-1">
          <h3 class="font-medium">购物</h3>
          <p class="text-sm text-gray-500">2个任务</p>
        </div>
        <i class="fas fa-chevron-right text-gray-400"></i>
      </div>

      <div class="category-item">
        <div class="category-icon" style="background-color: #9c27b0">
          <i class="fas fa-book"></i>
        </div>
        <div class="flex-1">
          <h3 class="font-medium">学习</h3>
          <p class="text-sm text-gray-500">4个任务</p>
        </div>
        <i class="fas fa-chevron-right text-gray-400"></i>
      </div>

      <div class="category-item">
        <div class="category-icon" style="background-color: #ff9800">
          <i class="fas fa-dumbbell"></i>
        </div>
        <div class="flex-1">
          <h3 class="font-medium">健身</h3>
          <p class="text-sm text-gray-500">1个任务</p>
        </div>
        <i class="fas fa-chevron-right text-gray-400"></i>
      </div>
    </div>

    <a href="#" class="add-button">
      <i class="fas fa-plus text-xl"></i>
    </a>
  </body>
</html>
